package patterns.decorator;

public abstract class LoggerDecorator implements SystemLogger {
    protected SystemLogger decoratedLogger;

    public LoggerDecorator(SystemLogger decoratedLogger) {
        this.decoratedLogger = decoratedLogger;
    }

    @Override
    public void log(String message) {
        decoratedLogger.log(message);
    }
}
